$OpenBSD: patch-makeconcfile_c,v 1.1.1.1 2011/09/19 20:20:42 naddy Exp $
--- makeconcfile.c.orig	Sun Sep 18 18:08:18 2011
+++ makeconcfile.c	Sun Sep 18 18:08:40 2011
@@ -201,7 +201,7 @@ int main(int argc,char **argv)
     data_index = 0;	/* The offset in the ref data pool of current entry */
     while (scanf( "%s", word) > 0) {
 	/* Append string to word list */
-	if ((n=fputs( word, outfp )) <= 0)
+	if ((n=fputs( word, outfp )) != 0)
 	    outerr(n);
 	putc( 0, outfp );
 
